TARGET=libxcom.so
OBJS=xserver_task.o xthread.o xthread_pool.o xcom_task.o xtools.o
INCLUDES=-I/usr/local/include
CPPFLAGS= -c -fPIC
LIBS=-levent -lpthread
$(TARGET):$(OBJS)
	g++ -shared $+ -o $@ $(LIBS)
clean:
	@rm -rf $(OBJS) $(TARGET)